package com.developer.platform.domain.event;

import com.developer.platform.infrastructure.enums.StatusEnum;
import com.veeker.core.bus.event.DomainEvent;
import java.util.Date;

/**
 * @author ：qiaoliang
 * @date ：2020-12-29
 */
public class NoticeEvent  extends DomainEvent {
  /** ID **/
  private Long id;
  /** 群ID **/
  private Long groupId;
  /** 模板类型 **/
  private Long templateId;
  /** 推送时间 **/
  private Date pushTime;
  /** 更新时间 **/
  private Date onlineTime;
  /** 状态 **/
  private StatusEnum status;

  public NoticeEvent() {
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public Long getGroupId() {
    return groupId;
  }

  public void setGroupId(Long groupId) {
    this.groupId = groupId;
  }

  public Long getTemplateId() {
    return templateId;
  }

  public void setTemplateId(Long templateId) {
    this.templateId = templateId;
  }

  public Date getPushTime() {
    return pushTime;
  }

  public void setPushTime(Date pushTime) {
    this.pushTime = pushTime;
  }

  public Date getOnlineTime() {
    return onlineTime;
  }

  public void setOnlineTime(Date onlineTime) {
    this.onlineTime = onlineTime;
  }

  public StatusEnum getStatus() {
    return status;
  }

  public void setStatus(StatusEnum status) {
    this.status = status;
  }
}
